package com.linxianqin.springbootVue.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.linxianqin.springbootVue.domain.dto.SysUserDTO;
import com.linxianqin.springbootVue.domain.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linxianqin.springbootVue.domain.query.SysUserQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author lxq
 * @since 2020-12-12
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
    List<SysUser>   selectUserList(SysUserQuery query);

    IPage<SysUser> selectUserDeptPage(IPage<SysUser> page,  @Param(Constants.WRAPPER) Wrapper<SysUser> queryWrapper);

}
